package com.cloudkinto.service.orderinput.vo;

import com.cloudkinto.service.headercontainer.vo.HeaderContainerProjectRes;
import com.cloudkinto.service.operate.vo.OperateRes;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/6/8 15:32
 * @description:
 */
@Data
public class OderInputDetailRes {
    private Long id;

    /**
     * 店铺id
     */
    private Long shopId;
    private String shopName;

    private String orderInputNumber;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date expireTime;

    /**
     * 入库仓库
     */
    private String storage;
    /**
     * 入库仓库
     */
    private String fbaStorage;

    private Long storageId;
    private Long fbaStorageId;

    /**
     * 交付日期
     */
    private String deliveryDate;

    /**
     * 运输方式 0散货 1整柜 2空运
     */
    private Long carriageType;
    private String carriageTypeName;

    /**
     * 发货方式 0 自发头程 1 筋斗云头程
     */
    private Long sendType;
    private String sendTypeName;


    /**
     * 运输追踪号
     */
    private String carriageTrackNo;

    /**
     * 是否是FBA转运 0 否 1是
     */
    private Integer fbaTurn;
    private String fbaTurnName;

    /**
     * FBA NO号
     */
    private String fbaNo;

    /**
     * FBA po号
     */
    private String fbaPo;

    /**
     * fba 附件
     */
    private String fbaFileUrl;
    private String clearFileUrl;
    private Long fbaFileId;
    private Long clearFileId;
    private String fileName;
    @ApiModelProperty("产地")
    private String countryName ;
    /**
     * 状态
     */
    private String status;
    private Long statusId;

    /**
     * 总体积
     */
    private Float volume;

    /**
     * 备注
     */
    private String tips;

    /**
     * 系统备注
     */
    @ApiModelProperty("系统备注")
    private String sysTips;

    /**
     * 头程费用
     */
    private Float seaFee;

    /**
     * 请报关费用
     */
    private Float clearanceFee;

    /**
     * 服务费用
     */
    private Float serviceFee;

    /**
     * 税费
     */
    private Float taxFee;


    private List<OrderInputPackageDetail> packageList;

    private List<OperateRes> operateResList;

    @ApiModelProperty("包裹汇总信息")
    private List<InputMarkProduct> productList;

    List<HeaderContainerProjectRes> projectResList;

    @ApiModelProperty("有效期信息")
    private List<OrderInputProductExpireRes> productExpireList;
}
